package com.franklin.java.api.configuration;

import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;

/**
 * 抽象Project属性
 * @author Franklin
 * @since 2021/9/1 18:22
 */
public abstract class AbstractProjectConfigurable implements Configurable {

    protected Project myProject;

    public AbstractProjectConfigurable(Project myProject) {
        this.myProject = myProject;
    }

    @Nullable
    @Override
    public JComponent createComponent() {
        return null;
    }

    @Override
    public boolean isModified() {
        return false;
    }

    @Override
    public void apply() throws ConfigurationException {

    }
}
